﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Corina.Datamodel.DataObject
{
    [XmlTypeAttribute(Namespace = "http://tempuri.org/")]
    public class ObjectValueInfo
    {
        public ObjectValueInfo() { }

        public ObjectValueInfo(string property, object value)
        {
            Property = property;
            Value = value == null || string.IsNullOrEmpty(value.ToString()) ? string.Empty : value;
        }
        public string Property { get; set; }
        public object Value { get; set; }
    }
}
